package com.oop.demo02;
//一个项目只能有一个启动主方法

public class Application {
    public static void main(String[] args) {
        Student student1 = new Student();
        Student student2 = new Student();
        student1.name = "小明";
        student2.name = "小红";
        student1.age = 12;
        student2.age = 23;

        System.out.println(student1.name);
        System.out.println(student1.age);
        System.out.println(student2.name);
        System.out.println(student2.age);
    }
}
